package com.nervenets.web.controller.handler.user.wealth;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.TokenParams;
import com.nervenets.web.enumeration.PayType;
import com.nervenets.web.validation.Type;

public class UserWithdrawParams extends TokenParams {
    @NeedValidation(type = Type.POSITIVENUMBER, description = "提现金额")
    private int money;
    @NeedValidation(type = Type.NOTEMPTY, description = "提现渠道")
    private PayType payType;

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public PayType getPayType() {
        return payType;
    }

    public void setPayType(PayType payType) {
        this.payType = payType;
    }
}
